package com.google.project.client.Service;

import java.util.List;

import com.google.gwt.user.client.rpc.AsyncCallback;
import com.google.project.shared.ProjectDTO;
import com.google.project.shared.ProjectTaskDTO;
import com.google.project.shared.TaskRequireDTO;

public interface TaskRequireServiceAsync {

	void getNumEmpOfProject(String projectId, AsyncCallback<Integer> callback);

	void getListTaskReq(AsyncCallback<List<TaskRequireDTO>> callback);


	void getTaskReqByTaskId(String taskId,
			AsyncCallback<List<TaskRequireDTO>> callback);

	void addTaskReq(ProjectTaskDTO task, TaskRequireDTO TaskReqDTO,
			AsyncCallback<Void> callback);

	void deleteTaskReqList(List<TaskRequireDTO> list,
			AsyncCallback<Void> callback);

	void getListTask(String projectId,
			AsyncCallback<List<ProjectTaskDTO>> callback);
	

}
